home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 May / EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso / earcd / disk / misc / mtm_1_1.rea < prev    next >
Text File  |  1997-03-02  |  3KB  |  111 lines

  1. Short:    Move files in DL to local Aminet mirror 
  2. Author:   Kenneth.Nilsen@riksnett.no (Kenneth Christopher Nilsen)
  3. Uploader: Kenneth.Nilsen@riksnett.no (Kenneth Christopher Nilsen)
  4. Version:  1.1
  5. Type:     disc/misc
  6. Replaces: disc/misc/MTM* 
  7. Requires: kick 2 or better 
  8.  
  9.  
  10. MoveToMirror 1.1 (1.2.97)
  11.  
  12. *NEWS*: Clone option added (date/protectionbits/comment) + bugs fixed!
  13. ALSO: See HISTORY at bottom of file.
  14.  
  15.  
  16. This program is FREEWARE!
  17.  
  18.  
  19. This tool is used locally to move the files you have in your download
  20. directory to a local Aminet mirror on your harddisk. The program uses the
  21. *.readme files and the "Type:" field to determine where to put the
  22. files. If drawer(s) don't exists MTM will create them when needed.
  23.  
  24.  
  25. The program is written in assembler using NewStartup for speed and size.
  26.  
  27.  
  28. USAGE:    MoveToMirror [sourcedir] [destdir] [-v] [-r] [-d] [-c]
  29.  
  30.     sourcedir    - copy from this directory (files and/or .readme)
  31.     destdir        - copy to this root dir (+ type:)
  32.     -v        - verbose actions
  33.     -r        - do not copy readme files to destdir
  34.     -d        - delete source files after a successful copy (move)
  35.     -c        - clone date/protection-bits/comment
  36.  
  37.  
  38. Example:
  39.  
  40. We have two files in our download directory:
  41.  
  42.     MTM_1.1.lha
  43.     MTM_1.1.readme
  44.  
  45. We set: MoveToMirror download: download:Aminet/ -v -d -c
  46.  
  47. The MTM will then search for .readme files and search for a 'type:' field.
  48. If found it will try to lock the Download:Aminet/disk/misc. If the dirs
  49. aren't found MTM will create the directories and copies the two files into
  50.  
  51.     download:Aminet/disk/misc/
  52.  
  53. The verbose output will look like this:
  54.  
  55. > MoveToMirror.readme -> disk/misc (mkdir) (mkdir) - Moving - Ok!
  56.  
  57. Note: The file *.lha is also moved/copied.
  58.       The files can also end with anything else than *.lha.
  59.  
  60. Since we use the '-c' option it will also clone the date, protection bits and
  61. the comment (if any).
  62.  
  63.  
  64. MTM does error checking in most cases so you will get message in verbose mode
  65. and more fatal errors in non-verbose mode as well.
  66.  
  67. Readme files that doesn't have the type line will be left in the download
  68. directory untouched with owner file.
  69.  
  70. For bug reports and/or wishes (options perhaps) contact me via e-mail:
  71.  
  72. kennecni@IDGonline.no
  73.  
  74.  
  75.  
  76. HISTORY:
  77.  
  78. 1.1  (01.02.97) - Added CLONE (-c) option
  79.           Bug: was case sensitive to "Type:". Fixed!
  80.           Bug: FIB wasn't LONG word aligned (only WORD). Fixed!
  81.           Bug: In non-verbose mode errors on 'type: not found'
  82.                in readme file didn't print name on file. Fixed!
  83. 1.0  (25.12.96) - Main release
  84. 0.2ß (25.11.96)    - Rewrote algoritms for moving files, creating dirs etc.
  85.         - 0.1ß Caused a yellow alert on some machines
  86.         - Better error checking and outputing
  87.         - Seem to work fine here.
  88.     
  89. 0.1ß (22.11.96)    - Initial beta release
  90.  
  91.  
  92.  
  93. ---
  94. Kenneth Christopher Nilsen
  95.  
  96.          kenneth.nilsen@riksnett.no - *email*
  97.                  *** comming up *** - *url*
  98.  
  99. Only two things are for sure: taxes and death. Unfortunately they come
  100. in the wrong succession.
  101.  
  102.  
  103. ============================= Archive contents =============================
  104.  
  105. Original  Packed Ratio    Date     Time    Name
  106. -------- ------- ----- --------- --------  -------------
  107.     5320    2381 55.2% 01-Feb-97 17:57:40  MoveToMirror
  108.     2699    1334 50.5% 01-Feb-97 17:56:52  MoveToMirror.readme
  109. -------- ------- ----- --------- --------
  110.     8019    3715 53.6% 01-Feb-97 23:19:04   2 files
  111.